//
//  RGBColorEncapsulation.m
//  SKaURobot
//
//  Created by cdong on 16/2/18.
//  Copyright © 2016年 cdong. All rights reserved.
//

#import "RGBColorEncapsulation.h"

@implementation RGBColorEncapsulation
+(UIColor *)colorWithRGB:(int)color alpha:(float)alpha{
    return [UIColor colorWithRed:((Byte)(color >> 16))/255.0 green:((Byte)(color >> 8))/255.0 blue:((Byte)color)/255.0 alpha:alpha];
}
@end
